package com.zzx.schoolfellow.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: schoolfeoolw_backend
 * @description: 敏感词
 * @author: zzx
 * @create: 2023-04-09 16:51
 **/
@Data
@Builder
@TableName("sensitive_word")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SensitiveWord {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private long id;

    @TableField("word")
    private String word;
}
